<div id="setlimit">
<?php $limit = $this->requestAction('users/getlimit'); ?>
<span>Počet záznamov na stranu: </span>

<?php 
	if ($limit == 5) echo '<strong>' . $this->Html->link('5', array('admin' => false, 'controller' => 'users', 'action' => 'setlimit', 5)) . '</strong>';
	else echo $this->Html->link('5', array('admin' => false, 'controller' => 'users', 'action' => 'setlimit', 5));
	echo ' ';
	if ($limit == 10) echo '<strong>' . $this->Html->link('10', array('admin' => false, 'controller' => 'users', 'action' => 'setlimit', 5)) . '</strong>';
	else echo $this->Html->link('10', array('admin' => false, 'controller' => 'users', 'action' => 'setlimit', 10));
	echo ' ';
	if ($limit == 20) echo '<strong>' . $this->Html->link('20', array('admin' => false, 'controller' => 'users', 'action' => 'setlimit', 5)) . '</strong>';
	else echo $this->Html->link('20', array('admin' => false, 'controller' => 'users', 'action' => 'setlimit', 20));
?>
</div>